package org.arl.modem.transportARQ;

public class Packet {
	private int packetId;
	private int packetSize;
	private byte[] data;
	private boolean status;

public Packet(int packetId, int packetsize, byte[] data) {
		super();
		this.packetId = packetId;
		this.packetSize = packetsize;
		this.data = data;
		this.setStatus(false);
	}

	public int getPacketId() {
		return packetId;
	}

	public void setPacketId(int packetId) {
		this.packetId = packetId;
	}

	public int getPacketsize() {
		return packetSize;
	}

	public void setPacketsize(int packetsize) {
		this.packetSize = packetsize;
	}

	public byte[] getData() {
		return data;
	}

	public void setData(byte[] data) {
		this.data = data;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

}
